<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/struts-tags" prefix="s" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/style.css"/>" />
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/style-login.css"/>" />
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/topRecommendations.css"/>" />

        <link rel="stylesheet" type="text/css" href="<s:url value="/css/colorbox.css"/>" />

        <script type="text/javascript" src="<s:url value="/js/jquery-1.3.2.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/publicRecommendations.js"/>"></script>
        <script type="text/javascript" src="<s:url value="/js/jquery.colorbox.js"/>"></script>

        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

        <title><s:text name="lector.titolweb"/></title>
    </head>
    <body>
       	<div id="header">
            <div id="headerLogo">
                <a id="refreshHomePage" href="<s:url value="/Lector/MostrarLector"/>"><img src="<s:url value="/img/logo-grande.gif"/>" title='<s:text name="lector.titolweb"/>'/></a>
            </div>
            <div id="headerLoginForm"  class="module2">
                <form id="login" action="Login" method="post">
                    <s:actionerror cssStyle="list-style-type:none; float:right; margin:0 5px; padding:0;"/>
                    <s:textfield key="usuari.login" maxlength="20"/>
                    <s:password key="usuari.password" maxlength="8"/>
                    <input type="submit" value="Sign in" class="btn module2"/>
                </form>
            </div>
        </div>

        <div id="contentLogin">

            <h1>Welcome to the IRSS reader and recommender</h1>
            <p>Here you could find some interesting readings from other people with similar preferences. 
                You can find and subscribe feeds in your own reader and also read other sources recommended 
                in a personalized way for you. If you want to try, you can register going to the 
                <a href="<s:url value="/Register"/>"> register page</a></p>

            <h2>How it works?</h2>

            <p>IRSS uses your reading information to find people with the same preferences than you 
                and generate a set of personalized recommendations of RSS feeds and items you probably like. 
                IRSS is both a reader and a recommender system. The recommender system will look for items 
                that may be interesting to you.</p>				

  <!-- 
            <div style="color:gray; font-weight: bold;">//TODO: unregistration of users</div>
            <div style="color:gray; font-weight: bold;">//TODO: management of top recommendations</div>
            
         <div id="recGlobalClusters" class="rounded-box" style="height:300px;">
                <div class='titol'><span style="margin-left:10px">Find out what are users reading about at this moment</span></div>
                <div id="contingutRecGlobalClusters" class="contingutRecGlobals">
                </div>
            </div>-->
        </div>
    </body>
</html>